<!-- Breadcrums -->
<?php $this->load->view('helpers/breadcrums.php'); ?>
<!-- Breadcrum -->
<div class="container">
	<div id="main">
		<div class="row-fluid" id="searchbox">
			<div class="span9">
				<div class="w-box">
					<div class="w-box-header-pages">
						<h1 class="page-header"><?php echo $text_advanced_search_local_properties; ?></h1>
					</div>
					<div class="w-box-content cnt_a">
						<form method="get" action="<?php echo base_url(); ?>listing-rows.html"
							class="form-search-box">
						<!--<input type="hidden" checked="checked" value="sale" id="forsaleorforrent1" name="propertyfor">-->
						<input type="hidden" checked="checked" value="0" id="local" name="localorint">
						<div class="row-fluid">
						<div class="span2">
						
						</div>
						<div class="span10">
						<div class="row-fluid">
						<div class="span4"><?php echo $text_propertytype; ?></div>
						<div class="span8">
							<select id="propertytype" name="propertytype" class="span12">
								<option value="" selected="selected"><?php echo $text_all_propertytype; ?></option>
								<?php if(count($dd_propertytype) > 0) { ?>
								<?php foreach ($dd_propertytype as $type) { ?>
								<option value="<?php echo $type->PropertyType_ID; ?>"><?php echo $type->Name; ?></option>
								<?php } ?>
								<?php } ?>
							</select>
						</div>
						</div>
						<div class="row-fluid">
						<div class="span4"><?php echo $text_city; ?></div>
						<div class="span8 city_advance_search">
							<select id="inputLocation" name="cities" class="span12">
								<option value="" id="all-location"><?php echo $text_all; ?></option>
								<?php if(count($lkup_cities) > 0) { ?>
								<?php foreach ($lkup_cities as $city) { ?>
								<option value="<?php echo $city->City_ID; ?>"><?php echo $city->Name; ?></option>
								<?php } ?>
								<?php } ?>
							</select>
						</div>
						</div>
						<div class="row-fluid">
							<div class="span4"><?php echo $text_price; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span4"><input name="price_min" type="text" id="price_min"
										class="span12 price_min" value="<?php echo $text_min; ?>">
									</div>
									<div class="span4"><input name="price_max" type="text" id="price_max"
										class="span12 price_max" value="<?php echo $text_max; ?>"></div>
									<div class="span4"><select name="ddlPriceUnit" id="ddlPriceUnit"
										class="span12">
										<option selected="selected" value="IDR">IDR</option>
										<option value="USD">USD</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="row-fluid">
							<div class="span4"><?php echo $text_size; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span6"><input name="size_min" type="text" id="size_min"
										class="span12 size_min" value="<?php echo $text_min; ?>">
									</div>
									<div class="span6"><input name="size_max" type="text" id="size_max"
										class="span12 size_max" value="<?php echo $text_max; ?>">
									</div>
								</div>
							</div>
						</div>
						
						
						<div class="row-fluid">
							<div class="span4"><?php echo $text_bedrooms; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span6"><input name="bedroom_min" type="text" id="bedroom_min"
										class="span12 bed_min" value="<?php echo $text_min; ?>">
									</div>
									<div class="span6"><input name="bedroom_max" type="text" id="bedroom_max"
										class="span12 bed_max" value="<?php echo $text_max; ?>">
									</div>
								</div>
							</div>
						</div>
						
						<div class="row-fluid">
							<div class="span4"><?php echo $text_bathrooms; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span6"><input name="bathroom_min" type="text" id="bathroom_min"
										class="span12 bath_min" value="<?php echo $text_min; ?>">
									</div>
									<div class="span6"><input name="bathroom_max" type="text" id="bathroom_max"
										class="span12 bath_max" value="<?php echo $text_max; ?>">
									</div>
								</div>
							</div>
						</div>
						<div class="row-fluid">
						<div class="span4"><?php echo $text_keyword; ?></div>
						<div class="span8"><input name="keyword" type="text" id="keyword"
							value="<?php echo $text_keyword_of_properties; ?>" class="span12 keyword">
						</div>
						</div>
						<div class="row-fluid">
						<div class="span12">
						<div class="pull-right"><input type="submit" value="Search"
							class="btn btn-primary btn-large" name="btnSearch" id="btnSearch"></div>
						</div>
						</div>
						</div>
						</div>
						</form>
					</div>
				</div>
			</div>
			<div class="sidebar span3"><?php $this->load->view('helpers/widgets/ad.php'); ?>
			</div>
		</div>
	</div>
</div>
